package yf.mall.dao;

import com.yf.dao.BaseDao;
import org.apache.ibatis.annotations.Param;
import yf.mall.entity.OrderItemEntity;
import org.apache.ibatis.annotations.Mapper;
import yf.mall.vo.OrderItemVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单详情Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Aug 13 14:26:20 CST 2019
 */
@Mapper
public interface OrderItemDao extends BaseDao<OrderItemEntity> {
    List<OrderItemEntity> findByOrderId(Long orderId);

    List<OrderItemVo> findByOrderNo(@Param("orderNo") String orderNo);

    void updateStatus(@Param("status") Integer status,@Param("id") Long id);
}

